package com.lzh.dlykserver.mapper;

import com.lzh.dlykserver.entity.TClue;
import com.lzh.dlykserver.query.BaseQuery;
import com.lzh.dlykserver.result.NameValue;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 墨墨
 * @description 针对表【t_clue(线索表)】的数据库操作Mapper
 * @createDate 2024-07-24 09:57:15
 * @Entity com.lzh.dlykserver.entity.TClue
 */
public interface TClueMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(TClue record);

    int insertSelective(TClue record);

    TClue selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TClue record);

    int updateByPrimaryKey(TClue record);

    List<TClue> selectUserByPage(BaseQuery build);

    void saveClue(@Param("tClueList") List<TClue> tClueList);

    int selectByCount(String phone);

    TClue selectDetailById(Integer id);

    int delByIds(@Param("idList") List<String> idList);

    Integer selectByAllCount();

    List<NameValue> selectBySource();
}
